package demo.springboot.POJO;

import java.io.Serializable;

public class T_news implements Serializable {
    private Long id;
    private String title;
    private String img_url;
    private String content;
    private String time_stamp;

    public T_news() {
    }

    public T_news(Long id, String title, String img_url, String content, String time_stamp) {
        this.id = id;
        this.title = title;
        this.img_url = img_url;
        this.content = content;
        this.time_stamp = time_stamp;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime_stamp() {
        return time_stamp;
    }

    public void setTime_stamp(String time_stamp) {
        this.time_stamp = time_stamp;
    }
}
